package com.swak.frame.api.filter;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.swak.frame.chain.FilterChain;
import com.swak.frame.context.BoundContext;
import com.swak.frame.filter.adapter.FilterChainFactoryAdapter;

@Component
public class SwakServiceChainFactory {

	@Resource
	private FilterChainFactoryAdapter<BoundContext> filterChainFactoryAdapter;
	
	public FilterChain<BoundContext> filterChain(){
		return filterChainFactoryAdapter.getFilterChain();
	}
}
